package com.hc.cosmetichospital.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 咨询内容
 * @author ASUS
 *
 */
public class Consulting {
    private Integer coid;

    private Integer coclid; //客户主键编号 管理客户表

    private String cotype;//咨询类别

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date codate; //咨询日期

    private String coproject; //咨询项目

    private String coinfo; //咨询内容

    private Double coprice; //推荐价格

    private String coresult; //咨询结果

    private String coremark; //备注

    private Staff staff; //登记人 当前登录管理员账号编号	关联员工表

    public Integer getCoid() {
        return coid;
    }

    public void setCoid(Integer coid) {
        this.coid = coid;
    }

    public Integer getCoclid() {
        return coclid;
    }

    public void setCoclid(Integer coclid) {
        this.coclid = coclid;
    }

    public String getCotype() {
        return cotype;
    }

    public void setCotype(String cotype) {
        this.cotype = cotype == null ? null : cotype.trim();
    }

    public Date getCodate() {
        return codate;
    }

    public void setCodate(Date codate) {
        this.codate = codate;
    }

    public String getCoproject() {
        return coproject;
    }

    public void setCoproject(String coproject) {
        this.coproject = coproject == null ? null : coproject.trim();
    }

    public String getCoinfo() {
        return coinfo;
    }

    public void setCoinfo(String coinfo) {
        this.coinfo = coinfo == null ? null : coinfo.trim();
    }

    public Double getCoprice() {
        return coprice;
    }

    public void setCoprice(Double coprice) {
        this.coprice = coprice;
    }

    public String getCoresult() {
        return coresult;
    }

    public void setCoresult(String coresult) {
        this.coresult = coresult == null ? null : coresult.trim();
    }

    public String getCoremark() {
        return coremark;
    }

    public void setCoremark(String coremark) {
        this.coremark = coremark == null ? null : coremark.trim();
    }

	public Staff getStaff() {
		return staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

    
}